package com.abbas.abchat.entity;

import java.io.Serializable;

/**
 * @author abbas
 * @description: TODO
 * @date 2022/4/12 20:18
 */
public class Account implements Serializable {

    public static String DATABASE_NAME = "account";

    public static String ID = "_id";
    public static String ACCOUNT = "account";
    public static String PASSWORD = "password";
    public static String NAME = "name";
    public static String BALANCE = "balance";
    public static String CHAT_TABLE_DBNAME = "chatTableDbName";
    public static String IMAGE_PATH = "imgPath";

    private int id;

    private String account;

    private String password;

    private String name;

    private Double balance;

    private String imgPath;

    private String chatTableDbName;

    public Account() {
    }

    public Account(String account, String password) {
        this.account = account;
        this.password = password;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getChatTableDbName() {
        return chatTableDbName;
    }

    public void setChatTableDbName(String chatTableDbName) {
        this.chatTableDbName = chatTableDbName;
    }

    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", balance=" + balance +
                ", imgPath='" + imgPath + '\'' +
                ", chatTableDbName='" + chatTableDbName + '\'' +
                '}';
    }
}
